package com.nexgo.payment.databases;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 操作员实体类
 *
 * @author 谭忠扬-YuriTam
 * @time 2017年07月14日
 */
@Entity(nameInDb = "OPERATOR")
public class OperatorInfo {

    @Id(autoincrement = true)
    private Long id;
    @Property(nameInDb = "NO")
    private String OperatorNo;  //操作员编号
    @Property(nameInDb = "PWD")
    private String password;//密码
    @Generated(hash = 1870866799)
    public OperatorInfo(Long id, String OperatorNo, String password) {
        this.id = id;
        this.OperatorNo = OperatorNo;
        this.password = password;
    }
    @Generated(hash = 2050694972)
    public OperatorInfo() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getOperatorNo() {
        return this.OperatorNo;
    }
    public void setOperatorNo(String OperatorNo) {
        this.OperatorNo = OperatorNo;
    }
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
}
